package com.example.patient.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author wxy
 * @Date 2020/9/27 11:02
 * @Version 1.0
 */
@Component
@ConfigurationProperties(prefix = "wx")
public class WxProp {

    private String payUrl;
    private String payHost;
    private String mchId;
    private String mchKey;
    private String purl;
    private String wxPublicAppId;
    private String wxPublicAppSecret;
    private String wxPublicCallBack;
    private String wxAppletsAppId;
    private String wxAppletsAppSecret;
    private String wxAppletsCallBack;
    private String dwxAppletsAppId;
    private String dwxAppletsAppSecret;
    private String keyPath;
    

    public String getPayUrl() {
        return payUrl;
    }

    public void setPayUrl(String payUrl) {
        this.payUrl = payUrl;
    }

    public String getPayHost() {
        return payHost;
    }

    public void setPayHost(String payHost) {
        this.payHost = payHost;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getMchKey() {
        return mchKey;
    }

    public void setMchKey(String mchKey) {
        this.mchKey = mchKey;
    }

    public String getWxPublicAppId() {
        return wxPublicAppId;
    }

    public void setPurl(String purl) {
        this.purl = purl;
    }

    public String getPurl() {
        return purl;
    } 

    public void setWxPublicAppId(String wxPublicAppId) {
        this.wxPublicAppId = wxPublicAppId;
    }

    public String getWxPublicAppSecret() {
        return wxPublicAppSecret;
    }

    public void setWxPublicAppSecret(String wxPublicAppSecret) {
        this.wxPublicAppSecret = wxPublicAppSecret;
    }

    public String getWxPublicCallBack() {
        return wxPublicCallBack;
    }

    public void setWxPublicCallBack(String wxPublicCallBack) {
        this.wxPublicCallBack = wxPublicCallBack;
    }

    public String getWxAppletsAppId() {
        return wxAppletsAppId;
    }

    public void setWxAppletsAppId(String wxAppletsAppId) {
        this.wxAppletsAppId = wxAppletsAppId;
    }

    public String getWxAppletsAppSecret() {
        return wxAppletsAppSecret;
    }

    public void setWxAppletsAppSecret(String wxAppletsAppSecret) {
        this.wxAppletsAppSecret = wxAppletsAppSecret;
    }

    public String getWxAppletsCallBack() {
        return wxAppletsCallBack;
    }

    public void setWxAppletsCallBack(String wxAppletsCallBack) {
        this.wxAppletsCallBack = wxAppletsCallBack;
    }

    public String getDwxAppletsAppId() {
        return dwxAppletsAppId;
    }

    public void setDwxAppletsAppId(String dwxAppletsAppId) {
        this.dwxAppletsAppId = dwxAppletsAppId;
    }

    public String getDwxAppletsAppSecret() {
        return dwxAppletsAppSecret;
    }

    public void setDwxAppletsAppSecret(String dwxAppletsAppSecret) {
        this.dwxAppletsAppSecret = dwxAppletsAppSecret;
    }
    
    public String getKeyPath() {
        return keyPath;
    }

    public void setKeyPath(String keyPath) {
        this.keyPath = keyPath;
    }
}
